from django.urls import re_path, path, include
from rest_framework import routers
from . import views

router = routers.DefaultRouter()
router.register(r"conf", views.AllinpayHardwareConfSetViewSet, basename="01场所资产配置")
router.register(
    r"hardware", views.AllinpayHardwareListSetViewSet, basename="10场所硬件资产列表"
)

router.register(
    r"WorkList", views.PlaceWorkStationListViewSet, basename="20场所工作站列表(大屏测试)"
)


router.register(r"WorkLogin", views.FsygWorkLoginViewSet, basename="30场所终端登录")


urlpatterns = [
    path("", include(router.urls)),
]
